export const setToken = (token) => {
  return localStorage.setItem('token', token)
}

export const getToken = () => {
  return localStorage.getItem('token')
}

export const isLogined = () => {
  if (localStorage.getItem('token')) {
    return true
  }
  return false
}